<template>
	<view class="content">
		<view class="success-box">
			<image src="/static/images/img4.png" mode="widthFix"></image>
			<text class="s-top">建档成功</text>
			<view class="s-msg">
				<text class="s-title">温馨提示：</text>
				<text>1、请在设备上进行身份信息录入； </text>
				<text>2、录入完成后点击app首页开启体测。</text>
			</view>
		</view>
		<button @click="gotoPage">返回首页</button>
	</view>
</template>

<script>
	export default{
		data() {
			return {
				
			}
		},
		onLoad() {
			
		},
		onShow() {
			
		},
		methods:{
			gotoPage(){
				uni.switchTab({
					url:'/pages/index/index'
				})
			}
		}
	}
</script>

<style lang="less">
	page{
		width: 100%;
		height: 100%;
		background: linear-gradient(180deg, #F0F3F9 0%, #FFFFFF 100%);
	}
	.success-box{
		width: 100%;
		margin: 90upx 0;
		display: flex;
		flex-flow: column;
		align-items: center;
		image{
			width: 90upx;
			height: auto;
			display: block;
		}
		text{
			display: block;
		}
		.s-top{
			font-size: 36upx;
			font-weight: bold;
			margin: 20upx 0;
		}
		.s-msg{
			width: 100%;
			background-color: #fff;
			border-radius: 12upx;
			padding: 40upx;
			box-sizing: border-box;
			margin-top: 40upx;
			.s-title{
				font-size: 28upx;
				color: #333;
				margin-bottom: 10upx;
			}
			text{
				font-size: 24upx;
				color: #999;
				line-height: 40upx;
			}
		}
	}
	button{
		border-radius: 120upx;
		background: linear-gradient(0deg, #5EA9FA 0%, #7CB6F5 100%);
		color: #fff;
		font-size: 32upx;
	}
</style>